package com.winning.util.ncpquery.entity;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * @作者：caopengfei
 * @时间：2019/4/25
 */
@Data
public class HttpEntity {

    private String url;

    private String method = "POST";

    private String contentType = "application/json";

    private String chartSet = "UTF-8";

    private Map<String,String> headers = new HashMap<>();

    private String body;

    public HttpEntity(String url, String body) {
        this.url = url;
        this.body = body;
    }

    public HttpEntity() {
    }
}
